/* various global variables */

char canonb[CANBSIZ];		/* buffer for erase and kill */
int   coremap[CMAPSIZ];		/* space for core allocation */
int   swapmap[SMAPSIZ];		/* space for swap allocation */

int *rootdir;					/* pointer to inode of root directory */

int cputype;					/* type of cpu =40, 45, or 70 */

int execnt;					/* number of  processes in exec */

int lbolt;						/* time of day in 60th not in time */
int time[2];					/* time in sec from 1970 */
int tout[2];					/* time of day of next sleep */

int mpid;						/* generic for unique process id ' s*/

char runin;					/* scheduling	flag*/
char runout;					/* scheduling	flag*/
char runrun;					/* scheduling	flag*/

char curpri;					/* more scheduling */

int maxmem;					/* actual max memory per process */

int *lks;						/* pointer to clock device */

int rootdev;					/* dev of root see conf.c */
int swapdev;					/* dev of swap see conf.c */

int swplo;					/* block number of swap space */
int nswap;					/* size of swap space */

int updlock;					/* lock for sync */
int rablock;					/* block to be read ahead */

char regloc[];				/* locs. of saved user registers (see trap.c) */

/*-----------------------------*/